<?php
	$list=array(	array(
						  'The Zen of CSS Design',
						  'Mr.A'
						  ),
					array(
						  'javascript',
						  'Mr.B'
						  ),
					array(
						  'Regexp',
						  'Mr.C'
						  ),
					array(
						  'ActionScript',
						  'Mr.D'
						  )
					
				);
?>

    <!--start activate-wrap-->
    <div class="list term-wrap">
    	<table cellpadding="1" id="sortTable" class="sortTable">
		<thead>
				<tr>
					<th width="300"><p>选择课程</p></th>
					<th><p>任教老师</p></th>
				</tr>
			</thead>
			<tbody>
				<?php
					for($i=0;$i<count($list);$i++){
				?>
                <tr class="toggle">
               		<td><a href="index.php?class=java"><?php echo $list[$i][0]; ?></a></td>
                    <td><?php echo $list[$i][1]; ?></td>
                </tr>		
				<?php
					}
				?>
			</tbody>
		</table>		

    </div>
    <!--end term-wrap-->
    <script>
	$('a#select').addClass('then');
	$('ul.selectNav li').eq(1).addClass('current');
	</script>